-- GENERATED SPELL FOR [Frenzyheart Berserker] --


function spell0_28076(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(50420,pUnit)
pUnit:RegisterEvent('Sorts_28076', 587, 1)
end

function Sorts_28076(pUnit, Event)
local choix_sorts_28076 = math.random(0, 0)
if choix_sorts_28076 == 0 then
pUnit:RegisterEvent('spell0_28076', 1, 1)
end
end

function mob28076_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28076', math.random(1500, 3000), 1)
end

function mob28076_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28076_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28076_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28076, 1, 'mob28076_Action')
RegisterUnitEvent(28076, 2, 'mob28076_Leave')
RegisterUnitEvent(28076, 3, 'mob28076_Kill')
RegisterUnitEvent(28076, 4, 'mob28076_Die')
